21.26. Subject to section 838, “amortized cost”, to a taxpayer, of a loan or lending asset at a particular time means the amount by which the aggregate of the following amounts exceeds the amount computed at that time in respect of the loan or lending asset under section 21.27:(a) in the case of a loan made by taxpayer, the aggregate of all amounts advanced in respect of the loan at or before the particular time;
(b) in the case of a loan or lending asset acquired by the taxpayer, the cost to the taxpayer of the loan or lending asset;
(c) in the case of a loan or lending asset acquired by the taxpayer, the part of the amount by which the principal amount of the loan or lending asset at the time it was so acquired exceeds the cost to the taxpayer of the loan or lending asset that was included in computing the taxpayer’s income for any taxation year ending at or before the particular time;
(c.1) the aggregate of all amounts each of which is an amount in respect of the loan or lending asset that was included in computing the taxpayer’s income for a taxation year that ended at or before that time in respect of changes in the value of the loan or lending asset attributable to the fluctuation in the value of a foreign currency relative to Canadian currency;
(d) where the taxpayer is an insurer, any amount in respect of the loan or lending asset that was deemed, by reason of paragraph a of section 830 as it read for the taxation year 1977, to be a gain for any taxation year ending at or before the particular time;
(e) the aggregate of all amounts each of which is an amount in respect of the loan or lending asset that was included under paragraph i of section 87 in computing the taxpayer’s income for any taxation year ending at or before the particular time.